package com.imddy.gkrpc.server;

import com.imddy.gkrpc.codec.Decoder;
import com.imddy.gkrpc.codec.Encoder;
import com.imddy.gkrpc.codec.JSONDecoder;
import com.imddy.gkrpc.codec.JSONEncoder;
import com.imddy.gkrpc.transport.HttpTransportServer;
import com.imddy.gkrpc.transport.TransportServer;

import lombok.Data;

/**
 * server配置
 * @author Administrator
 *
 */
@Data
public class RpcServerConfig {

	private Class<? extends TransportServer> transportServerClass = HttpTransportServer.class;
	private Class<? extends Encoder> encoderClass = JSONEncoder.class;
	private Class<? extends Decoder> decoderClass = JSONDecoder.class;
	private int port = 3000;
	
	
}
